package org.musicPlayerServer.business;

import org.musicPlayerServer.business.object.Music;

public class ContentManager {

    FileManager fm;
    
    public ContentManager(){
	fm = new FileManager();
    }
    
    
    public Music getNextMusic(Music music) {
	String path = fm.getNext(music.getFilePath());
	return path==null?null:new Music(path);
    }

}
